package com.powernobug.typehandler;

import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.TypeHandler;

import java.sql.CallableStatement;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * @Author: 肖云戈
 * @CreateTime: 2024-08-26
 * @Description: 测试
 */
public class TempTypeHandler implements TypeHandler<Character[]> {

    @Override
    public void setParameter(PreparedStatement ps, int i, Character[] parameter, JdbcType jdbcType) throws SQLException {

    }

    @Override
    public Character[] getResult(ResultSet rs, String columnName) throws SQLException {
        return new Character[0];
    }

    @Override
    public Character[] getResult(ResultSet rs, int columnIndex) throws SQLException {
        return new Character[0];
    }

    @Override
    public Character[] getResult(CallableStatement cs, int columnIndex) throws SQLException {
        return new Character[0];
    }
}
